const express = require( 'express' );
const router = express.Router();

const stuModel = require( '../db/models/stuModel' );

router.post( '/search', async ( req, res ) => {

    let totalData = await stuModel.search(req.body);
    res.status( 200 ).send( totalData );
} );

module.exports = router;